package com.ruoyi.business.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.bizsys.domain.AppDeviceFingerprint;
import com.ruoyi.bizsys.domain.AppDeviceInfo;
import com.ruoyi.bizsys.domain.AppUser;

/**
 * @Author: Jamnsin
 * @Date: 2021/4/8 4:52 下午
 */
public interface IAppService {

    void saveAppDeviceInfoBoard(String userUuid, String custNo, String actionType, String actionKey, JSONObject deviceInfo);

    void saveAppDeviceInfo(String userUuid, String custNo, String actionType, String actionKey, JSONObject deviceInfo);

    void saveAppDeviceFingerprint(AppDeviceInfo deviceInfo);

    /**
     * 获取有效的邀请人
     * @return
     * @param inviteCode
     */
    AppUser getValidInviter(String inviteCode);

    void deleteAccount(String custNo, String dictSort, AppUser appUser, String reason);
}
